package com.ai.bitcoin.jpa.service.impl;

import com.ai.bitcoin.jpa.dao.BccReportHisDao;
import com.ai.bitcoin.jpa.entity.BccReportHis;
import com.ai.bitcoin.jpa.service.BccReportHisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Jason
 * @date 2018.5.11
 **/
@Component
public class BccReportServiceHisImpl implements BccReportHisService {
    @Autowired
    BccReportHisDao dao;

    @Override
    @Transactional
    public BccReportHis save(BccReportHis bccReportHis) {
        return dao.save(bccReportHis);
    }

}
